//
//  SaveRouteViewController.h
//  Follow Me
//
//  Created by apple on 2017/4/21.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import <MapKit/MapKit.h>
#import "takePhoto.h"
#import "MainModel.h"
#import "Routes+CoreDataClass.h"
#import "Photos+CoreDataClass.h"
#import "Users+CoreDataClass.h"
#import "EditRouteViewController.h"
#import "SecondViewController.h"

typedef struct{
    CLLocationDistance latitudinalMeters;
    CLLocationDistance longitudinalMeters;
    CLLocationCoordinate2D centerCoord;
}CoordinateRegion;

@interface SaveRouteViewController : UIViewController{
    int colourChoice;
}


@property (strong, nonatomic) IBOutlet UIBarButtonItem *MoreActionButton;
@property (strong, nonatomic) IBOutlet UILabel *RouteTimeLabel;
@property (strong, nonatomic) IBOutlet UILabel *RouteDateLabel;
@property (strong, nonatomic) IBOutlet UILabel *RouteDistanceLabel;
@property (strong, nonatomic) IBOutlet MKMapView *ShowRouteDetailMapView;
@property (strong, nonatomic) IBOutlet UILabel *RouteDescriptionLabel;
@property (strong, nonatomic) IBOutlet UIButton *FollowTheRouteButton;
@property (strong, nonatomic) IBOutlet UIButton *UpLoadTheRouteButton;
@property (strong, nonatomic) IBOutlet UILabel *RouteNameLabel;
@property (strong, nonatomic) IBOutlet UILabel *finishingUpLoadLabel;

-(void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation;
@end
